//
// Lexer.hpp for  in /home/lund/Projets/plazza
// 
// Made by florian dewulf
// Login   <dewulf_f@epitech.net>
// 
// Started on  Sun Apr 14 15:53:56 2013 florian dewulf
// Last update Wed Apr 17 16:44:38 2013 florian dewulf
//

#ifndef		LEXER_HPP_
# define	LEXER_HPP_

#include	<iostream>
#include	<string>
#include	<sstream>
#include	<list>
#include	"Plazza.hpp"

class		Lexer
{
public:
  Lexer(const std::string &arg1, const std::string &arg2, const std::string &arg3);
  virtual	~Lexer();
  static bool	check_pizza(const std::string &);
  static void	epur_space(std::string &);
  static bool	checkAv(const char *, const char *, const char *);
  static std::list<CompoCmd>	listing(const std::string &);
  static std::list<std::string>	split(const std::string &, char);

public: //getter & setter
  //void		setStr(const std::string &);
  void		setArg1(int);
  void		setArg2(int);
  void		setArg3(int);
  //std::string	getStr() const;
  int		getArg1() const;
  int		getArg2() const;
  int		getArg3() const;

private:
  //std::string	_str;
  int		_arg1;
  int		_arg2;
  int		_arg3;
};


#endif
